<?php
/**
 * Created by PhpStorm.
 * User: hcadmin
 * Date: 17/1/4
 * Time: 下午12:05
 */
use app\assets\AppAsset;
$baseUrl = Yii::$app->request->baseUrl;
AppAsset::addCss($this, $baseUrl . "/css/activity.css");
AppAsset::addCss($this, $baseUrl . "/css/kkpager_orange.css");
AppAsset::addScript($this, $baseUrl . "/js/kkpager.min.js");
?>


<style>
    .news-status{
        width: 80%;
        border: 1px solid #DFDFDF;
        height: 60px;
        margin: 0 auto;
    }
   .all-news{
       text-align: center;
       line-height: 59px;
       vertical-align: middle;
       float: left;
       width: 33.3%;
       height: 59px;
       border-right: 1px solid #DFDFDF;
   }
    .all-news-no{
        text-align: center;
        line-height: 59px;
        vertical-align: middle;
        float: left;
        width: 33.3%;
        height: 59px;
    }

    .news-list{
        width: 80%;
        margin-left: 10%;
        height: 600px;
        border: 1px solid #ddd;
    }

</style>

<div class="head">
    <div class="title">学院新闻</div>
    <div style="float: right;position: relative;top: -30px;">
        <span class="my-font" id="publish"><a style="display: inline-block;text-decoration: none;cursor: pointer;color: #fff;background-color: rgb(47,56,73);padding: 4px 8px;border-radius: 3px;">发布新闻+</a></span>
        <img src="../../img/head.jpeg" style="width: 40px;height: auto;margin-right: 15px">
        <span class="my-font" >退出</span>
    </div>
</div>
<div class="news-status">
    <div class="all-news" onClick=myClick1(0)>全部</div>
    <div class="all-news" onClick=myClick1(1)>已发布</div>
    <div class="all-news-no" style="" onClick=myClick1(2)>未发布</div>
</div>
<div class="news-list">
    <div class="news-content">
        <img src="../../newsTest.jpeg" style="w">
    </div>

</div>